package com.business.user.mapper;

import java.util.Set;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import com.business.user.entity.UserConcern;
import org.apache.ibatis.annotations.Param;

/**
 * 关注表:数据层
 * @author chenjiehong
 * @date 2019-11-29 14:28:27
 * @since 1.0
 */
public interface UserConcernMapper extends BaseMapper<UserConcern> {


    /**
     * 查询所有关注的用户id
     * @param userId
     * @return
     */
    Set<Integer> queryFriendList(@Param("userId") Integer userId);

}
